{php}
    $vod_dongman_riqi_yi=zanpian_mysql_vod('cid:3;weekday:1;limit:1000;field:vod_id,vod_cid,vod_name,vod_pic,vod_addtime,vod_prty,vod_continu;order:vod_addtime desc');
    $vod_dongman_riqi_er=zanpian_mysql_vod('cid:3;weekday:2;limit:1000;field:vod_id,vod_cid,vod_name,vod_pic,vod_addtime,vod_prty,vod_continu;order:vod_addtime desc');
    $vod_dongman_riqi_san=zanpian_mysql_vod('cid:3;weekday:3;limit:1000;field:vod_id,vod_cid,vod_name,vod_pic,vod_addtime,vod_prty,vod_continu;order:vod_addtime desc');
    $vod_dongman_riqi_si=zanpian_mysql_vod('cid:3;weekday:4;limit:1000;field:vod_id,vod_cid,vod_name,vod_pic,vod_addtime,vod_prty,vod_continu;order:vod_addtime desc');
    $vod_dongman_riqi_wu=zanpian_mysql_vod('cid:3;weekday:5;limit:1000;field:vod_id,vod_cid,vod_name,vod_pic,vod_addtime,vod_prty,vod_continu;order:vod_addtime desc');
    $vod_dongman_riqi_liu=zanpian_mysql_vod('cid:3;weekday:6;limit:1000;field:vod_id,vod_cid,vod_name,vod_pic,vod_addtime,vod_prty,vod_continu;order:vod_addtime desc');
    $vod_dongman_riqi_qi=zanpian_mysql_vod('cid:3;weekday:7;limit:1000;field:vod_id,vod_cid,vod_name,vod_pic,vod_addtime,vod_prty,vod_continu;order:vod_addtime desc');
{/php}
{volist name="vod_dongman_riqi_yi" id="zanpian"}{eq name="zanpian.vod_prty" value="4"}{php}$yi=$yi + 1;{/php}{/eq}{/volist}
{volist name="vod_dongman_riqi_er" id="zanpian"}{eq name="zanpian.vod_prty" value="4"}{php}$er=$er + 1;{/php}{/eq}{/volist}
{volist name="vod_dongman_riqi_san" id="zanpian"}{eq name="zanpian.vod_prty" value="4"}{php}$san=$san + 1;{/php}{/eq}{/volist}
{volist name="vod_dongman_riqi_si" id="zanpian"}{eq name="zanpian.vod_prty" value="4"}{php}$si=$si + 1;{/php}{/eq}{/volist}
{volist name="vod_dongman_riqi_wu" id="zanpian"}{eq name="zanpian.vod_prty" value="4"}{php}$wu=$wu + 1;{/php}{/eq}{/volist}
{volist name="vod_dongman_riqi_liu" id="zanpian"}{eq name="zanpian.vod_prty" value="4"}{php}$liu=$liu + 1;{/php}{/eq}{/volist}
{volist name="vod_dongman_riqi_qi" id="zanpian"}{eq name="zanpian.vod_prty" value="4"}{php}$qi=$qi + 1;{/php}{/eq}{/volist}
{
    "ResponseData": {
        "Monday": [
            {volist name="vod_dongman_riqi_yi" id="zanpian"}
            {eq name="zanpian.vod_prty" value="4"}
            {php}$k=$k + 1;{/php}
            {
                "id": "{$zanpian.vod_id}",
                "title": "{$zanpian.vod_name}",
                "vodPic": "{$zanpian.vod_picurl}",
                "link": "{$zanpian.vod_readurl}",
                "lastLink": "{$zanpian.lastplay_url}",
                "isDate": {php}$a="$zanpian[vod_addtime]";if(date('Y-m-d')==date('Y-m-d',$a)){{/php}1{php}}else{{/php}0{php}}{/php},
                "status": "{php}if(is_numeric($zanpian[vod_continu])){{/php}更新至{$zanpian.vod_continu}话{php}}else{{/php}{$zanpian.vod_continu}{php}}{/php}"
            }{lt name="k" value="$yi"},{/lt}
            {/eq}
            {/volist}
        ],
        "Tuesday": [
        {volist name="vod_dongman_riqi_er" id="zanpian"}
        {eq name="zanpian.vod_prty" value="4"}
        {php}$j=$j + 1;{/php}
            {
                "id": "{$zanpian.vod_id}",
                "title": "{$zanpian.vod_name}",
                "vodPic": "{$zanpian.vod_picurl}",
                "link": "{$zanpian.vod_readurl}",
                "lastLink": "{$zanpian.lastplay_url}",
                "isDate": {php}$a="$zanpian[vod_addtime]";if(date('Y-m-d')==date('Y-m-d',$a)){{/php}1{php}}else{{/php}0{php}}{/php},
                "status": "{php}if(is_numeric($zanpian[vod_continu])){{/php}更新至{$zanpian.vod_continu}话{php}}else{{/php}{$zanpian.vod_continu}{php}}{/php}"
            }{lt name="j" value="$er"},{/lt}
            {/eq}
        {/volist}
        ],
        "Wednesday": [
        {volist name="vod_dongman_riqi_san" id="zanpian"}
        {eq name="zanpian.vod_prty" value="4"}
        {php}$l=$l + 1;{/php}
            {
                "id": "{$zanpian.vod_id}",
                "title": "{$zanpian.vod_name}",
                "vodPic": "{$zanpian.vod_picurl}",
                "link": "{$zanpian.vod_readurl}",
                "lastLink": "{$zanpian.lastplay_url}",
                "isDate": {php}$a="$zanpian[vod_addtime]";if(date('Y-m-d')==date('Y-m-d',$a)){{/php}1{php}}else{{/php}0{php}}{/php},
                "status": "{php}if(is_numeric($zanpian[vod_continu])){{/php}更新至{$zanpian.vod_continu}话{php}}else{{/php}{$zanpian.vod_continu}{php}}{/php}"
            }{lt name="l" value="$san"},{/lt}
            {/eq}
        {/volist}
        ],
        "Thursday": [
        {volist name="vod_dongman_riqi_si" id="zanpian"}
        {eq name="zanpian.vod_prty" value="4"}
        {php}$m=$m + 1;{/php}
            {
                "id": "{$zanpian.vod_id}",
                "title": "{$zanpian.vod_name}",
                "vodPic": "{$zanpian.vod_picurl}",
                "link": "{$zanpian.vod_readurl}",
                "lastLink": "{$zanpian.lastplay_url}",
                "isDate": {php}$a="$zanpian[vod_addtime]";if(date('Y-m-d')==date('Y-m-d',$a)){{/php}1{php}}else{{/php}0{php}}{/php},
                "status": "{php}if(is_numeric($zanpian[vod_continu])){{/php}更新至{$zanpian.vod_continu}话{php}}else{{/php}{$zanpian.vod_continu}{php}}{/php}"
            }{lt name="m" value="$si"},{/lt}
            {/eq}
        {/volist}
        ],
        "Friday": [
        {volist name="vod_dongman_riqi_wu" id="zanpian"}
        {eq name="zanpian.vod_prty" value="4"}
        {php}$n=$n + 1;{/php}
            {
                "id": "{$zanpian.vod_id}",
                "title": "{$zanpian.vod_name}",
                "vodPic": "{$zanpian.vod_picurl}",
                "link": "{$zanpian.vod_readurl}",
                "lastLink": "{$zanpian.lastplay_url}",
                "isDate": {php}$a="$zanpian[vod_addtime]";if(date('Y-m-d')==date('Y-m-d',$a)){{/php}1{php}}else{{/php}0{php}}{/php},
                "status": "{php}if(is_numeric($zanpian[vod_continu])){{/php}更新至{$zanpian.vod_continu}话{php}}else{{/php}{$zanpian.vod_continu}{php}}{/php}"
            }{lt name="n" value="$wu"},{/lt}
            {/eq}
        {/volist}
        ],
        "Saturday": [
        {volist name="vod_dongman_riqi_liu" id="zanpian"}
        {eq name="zanpian.vod_prty" value="4"}
        {php}$o=$o + 1;{/php}
            {
                "id": "{$zanpian.vod_id}",
                "title": "{$zanpian.vod_name}",
                "vodPic": "{$zanpian.vod_picurl}",
                "link": "{$zanpian.vod_readurl}",
                "lastLink": "{$zanpian.lastplay_url}",
                "isDate": {php}$a="$zanpian[vod_addtime]";if(date('Y-m-d')==date('Y-m-d',$a)){{/php}1{php}}else{{/php}0{php}}{/php},
                "status": "{php}if(is_numeric($zanpian[vod_continu])){{/php}更新至{$zanpian.vod_continu}话{php}}else{{/php}{$zanpian.vod_continu}{php}}{/php}"
            }{lt name="o" value="$liu"},{/lt}
            {/eq}
        {/volist}
        ],
        "Sunday": [
        {volist name="vod_dongman_riqi_qi" id="zanpian"}
        {eq name="zanpian.vod_prty" value="4"}
        {php}$p=$p + 1;{/php}
            {
                "id": "{$zanpian.vod_id}",
                "title": "{$zanpian.vod_name}",
                "vodPic": "{$zanpian.vod_picurl}",
                "link": "{$zanpian.vod_readurl}",
                "lastLink": "{$zanpian.lastplay_url}",
                "isDate": {php}$a="$zanpian[vod_addtime]";if(date('Y-m-d')==date('Y-m-d',$a)){{/php}1{php}}else{{/php}0{php}}{/php},
                "status": "{php}if(is_numeric($zanpian[vod_continu])){{/php}更新至{$zanpian.vod_continu}话{php}}else{{/php}{$zanpian.vod_continu}{php}}{/php}"
            }{lt name="p" value="$qi"},{/lt}
            {/eq}
        {/volist}
        ]
    },
    "ResponseStatus": 0,
    "count": {php}$count = $yi + $er + $san + $si + $wu + $liu + $qi;echo $count{/php}
}
